import { Global, Module } from '@nestjs/common'
import { ClsModule } from 'nestjs-cls'

import { CreatorPipe } from './creator.pipe'
import { UpdaterPipe } from './updater.pipe'

@Global()
@Module({
  imports: [ClsModule],
  providers: [CreatorPipe, UpdaterPipe],
  exports: [CreatorPipe, UpdaterPipe],
})
export class PipesModule {}
